<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Hello</title>
</head>
<body>
    <form action="${pageContext.request.contextPath}/ServletDemo05" method="get">
        <div>
            用户名：<input name="username" type="text" value="用户名">

        </div>
        <div>
            密码：<input name="password" type="password" value="密码">
        </div>
        <div>
            爱好：
            <input type="checkbox" name="hobby" value="女孩">女孩
            <input type="checkbox" name="hobby" value="吉他">吉他
            <input type="checkbox" name="hobby" value="唱歌">唱歌
            <input type="checkbox" name="hobby" value="电影">电影
        </div>
        <button type="submit">提交</button>
    </form>
</body>
</html>